package my.test.status;

/**
 * @Author 许玉康
 * @Date 2019-10-30 10:39
 */
public interface ILift {

    //电梯的四个状态
    public static final int OPENING_STATE = 1;//敞开状态
    public static final int CLOSEING_STATE = 1;//闭开状态
    public static final int RUNNING_STATE = 1;//运行状态
    public static final int STOPING_STATE = 1;//停止状态

    //设置电梯的状态
    public void setState(int state);

    //首先电梯门开启动作
    public void open();

    //电梯门可以开启，也可以关闭
    public void close();

    public void run();
    public void stop();
}
